package com.iris.live.services.data.models;

import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by yitianle on 2017/8/2.
 */
@Entity
@Table(name = "finance_deposit_check", schema = "", catalog = "")
public class FinanceDepositCheckModel {

    private  Integer id;
    private  String quotaId;
    private  String transcationCode;
    private  String checkStatus;
    private  String scName;
    private  String permit;
    private  Integer orderType;
    private  Date createdTime;
    private  Date updateTime;
    private  String initialQuotation;
    private BigDecimal depositMoney;

    public FinanceDepositCheckModel() {
    }

    public FinanceDepositCheckModel(String quotaId, String transcationCode, String checkStatus, String scName,String permit,Integer orderType,Date createdTime, Date updateTime,String initialQuotation,BigDecimal depositMoney) {
        this.quotaId = quotaId;
        this.transcationCode = transcationCode;
        this.checkStatus = checkStatus;
        this.scName = scName;
        this.permit = permit;
        this.orderType = orderType;
        this.createdTime = createdTime;
        this.updateTime = updateTime;
        this.initialQuotation =initialQuotation;
        this.depositMoney = depositMoney;
    }

    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Basic
    @Column(name = "quota_id")
    public String getQuotaId() {
        return quotaId;
    }

    public void setQuotaId(String quotaId) {
        this.quotaId = quotaId;
    }

    @Basic
    @Column(name = "transcation_code")
    public String getTranscationCode() {
        return transcationCode;
    }

    public void setTranscationCode(String transcationCode) {
        this.transcationCode = transcationCode;
    }

    @Basic
    @Column(name = "check_status")
    public String getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(String checkStatus) {
        this.checkStatus = checkStatus;
    }

    @Basic
    @Column(name = "created_time")
    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    @Basic
    @Column(name = "update_time")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Basic
    @Column(name = "sc_name")
    public String getScName() {
        return scName;
    }
    public void setScName(String scName) {
        this.scName = scName;
    }

    @Basic
    @Column(name = "permit")
    public String getPermit() {
        return permit;
    }

    public void setPermit(String permit) {
        this.permit = permit;
    }

    @Basic
    @Column(name = "order_type")
    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    @Basic
    @Column(name = "initial_quotation")
    public String getInitialQuotation() {
        return initialQuotation;
    }

    public void setInitialQuotation(String initialQuotation) {
        this.initialQuotation = initialQuotation;
    }

    @Basic
    @Column(name = "deposit_money")
    public BigDecimal getDepositMoney() {
        return depositMoney;
    }

    public void setDepositMoney(BigDecimal depositMoney) {
        this.depositMoney = depositMoney;
    }
}
